<template>
   <div>{{$store.state.user.profile.account}}</div>
   <button @click="$store.commit('user/setUser',{account:'555'})">设置用户信息</button>
</template>

<script>
    export default{
        name:'App'
    }
</script>

<style>

</style>